package com.miracle.mvpbase

import com.miracle.mvpbase.databinding.ActivityMainBinding
import com.miracle.mvplib.base.BaseMvpActivity

class MainActivity :
    BaseMvpActivity<ActivityMainBinding, MainContract.Presenter>(ActivityMainBinding::inflate),
    MainContract.View {
    override fun createPresenter(): MainContract.Presenter {
        return MainPresenter(this)

    }

    override fun setTitleText(title: String) {
        viewBinding.tvTitle.text = title
    }

}